//
//  NextViewController.m
//  SlideZoomMenuDemo
//
//  Created by jian on 15/4/9.
//  Copyright (c) 2015年 renxiaojian. All rights reserved.
//

#import "NextViewController.h"

@interface NextViewController ()


@end

@implementation NextViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self loadFile];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

-(void)loadFile{
    NSURL *fileURL=[[NSBundle mainBundle]URLForResource:[NSString stringWithFormat:@"%@.docx",self.word] withExtension:nil];
    NSURLRequest *request=[NSURLRequest requestWithURL:fileURL];
    [self.myWebView loadRequest:request];
    self.myWebView.scalesPageToFit=YES;
    
}


@end
